﻿<Window x:Class="Deployment.Data.UI.Dialogs.Environment.AddEnvironmentDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:Deployment.Data.UI.Controls.Environment"
        Title="Add Environment" Height="300" Width="300" ShowInTaskbar="False" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" SizeToContent="WidthAndHeight" Closing="Window_Closing" 
        FocusManager.FocusedElement="{Binding ElementName=newEnvironmentControl}">
    <StackPanel Orientation="Vertical" Margin="8,8,8,8">
        <controls:AddEnvironmentControl x:Name="newEnvironmentControl"/>

        <StackPanel Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right" >
            <Button Name="okButton" 
                        Click="okButton_Click" 
                        IsDefault="True"
                        Padding="8,4,8,4"
                        Margin="2">OK</Button>
            <Button Name="cancelButton" 
                        IsCancel="True"
                        Padding="4"
                        Margin="2">Cancel</Button>
        </StackPanel>
    </StackPanel>
</Window>

